package com.netposa.datawarehouse.aggregator.search;

import java.beans.ConstructorProperties;

public class ResourceParam {
   private String recordId;

   public String getRecordId() {
      return this.recordId;
   }

   public void setRecordId(String recordId) {
      this.recordId = recordId;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ResourceParam)) {
         return false;
      } else {
         ResourceParam other = (ResourceParam)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$recordId = this.getRecordId();
            Object other$recordId = other.getRecordId();
            if (this$recordId == null) {
               if (other$recordId != null) {
                  return false;
               }
            } else if (!this$recordId.equals(other$recordId)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof ResourceParam;
   }

   public int hashCode() {
      
      int result = 1;
      Object $recordId = this.getRecordId();
      result = result * 59 + ($recordId == null ? 43 : $recordId.hashCode());
      return result;
   }

   public String toString() {
      return "ResourceParam(recordId=" + this.getRecordId() + ")";
   }

   @ConstructorProperties({"recordId"})
   public ResourceParam(String recordId) {
      this.recordId = recordId;
   }

   public ResourceParam() {
   }
}
